php forum
php mysql forum
php mysql smarty
 
Topic Options
#199019 - 02/11/03 12:36 AM [6.x] UBB php style file
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Name: UBB PHP STYLE FILE

Description: Creates a vars_style.inc.php file in whch you can include your forum styles/header/footer/etc into any php page.

Link: http://ubbdev.com/hacks/6.3/ubbphpstyle.zip

Demo: none

Author: Allen Ayres

Credits: Charles Capps for the pointers smile

Requirement: UBB™ 6+

Note: Rather easy to install and run. It's of alpha/beta quality only because I didn't include any visual info (html) that the file actually did what it was supposed to. You modify cp.cgi and upload the the included .cgi file and access it via your forum's /cp.cgi?ubb=styles_php. It runs and writes the vars_style.inc.php file, giving you all the styles data you could need to use in any php page in your site. Require the file into your .php file (example: index.php) and call the variables ($Header, $Footer, $TableTop, $TableColorStrip, $FontFace, etc. etc. etc.) - for a full list, check the included file for what variables are written.

Thanks in advance to those who might find any bugs, I've tested it on 6.3 - 6.5 smile
_________________________
- Allen wavey
- What Drives You?

Top
#199020 - 02/11/03 03:08 AM Re: [6.x] UBB php style file
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Hmm...I'll check this out. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#199021 - 02/11/03 04:41 PM Re: [6.x] UBB php style file
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Cool, let me know what you think, The discussion from the 6.3 version is found here:
http://www.ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=31;t=000076
_________________________
- Allen wavey
- What Drives You?

Top
#199022 - 02/12/03 05:03 AM Re: [6.x] UBB php style file
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Alright, cool. I've read the discussion over at 6.3 Mods forum and I'll install this sometime today and take a look at it. Just about 3 days ago I released my site in which I had to manually do the tables. If I'm thinking correctly on what this hack is capable of doing, the cosmetics of intergrating the board with the site will be much easier to create and manage.

I'm not sure exactly if and how I'll be able to use this but as Bookie and X stated this hack could be largely used for a Portal (PHP to Perl).
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#199023 - 04/05/03 01:06 AM Re: [6.x] UBB php style file
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
it could be an easy way to carry the styles and basic table structure (TBT and TBB) over to a .php page smile
_________________________
- Allen wavey
- What Drives You?

Top



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks